<script setup lang="ts">
import { HttpRequestService } from '../http';

async function test(): Promise<void> {
  const response = await new HttpRequestService().get(
    '/authentication/checkOnUsername?username=test',
  );
  console.dir(response);
}
</script>

<template>
  <div>
    <button @click="test()">From Core</button>
  </div>
</template>

<style scoped></style>
